package com.css.fxfzcpxx.modules.thematicMap.repository;

import com.css.fxfzcpxx.modules.categoryView.param.QueParam;
import com.css.fxfzcpxx.modules.categoryView.vo.CategoryViewVo;
import com.css.fxfzcpxx.modules.thematicMap.entity.ThematicMap;
import com.css.fxfzcpxx.modules.thematicMap.param.QueParams;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface TheMapRepository {
    Map<String, Object> getPage(QueParams queParams, int curPage, int pageSize);

    void save(ThematicMap thematicMap);

    void recall(String releaseStatus, List<String> asList);

    void publish(String releaseStatus, List<String> asList, Date date);

    void delete(List<String> asList);

    ThematicMap findById(String id);

    List<ThematicMap> getkeywordManageData(List<String> ids);

    void keywordUpdate(String id, String keyword);

    void publishedDataupdate(ThematicMap thematicMap);

    void unpublishedDataupdate(ThematicMap thematicMap);

    Map<String, Object>  getDataList(QueParams queParams, int curPage, int pageSize);

    List<CategoryViewVo> getData(QueParam queParam);

    String getNumber(Timestamp startTimestamp, Timestamp endTimestamp);

    Integer getDownload(String unit);
}
